package com.gzhryc.net_marketing.api.protocol.account;

import com.gzhryc.common.api.SecurityResponse;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class CloudPayAccountWithdrawPayeeListResponse extends SecurityResponse<CloudPayAccountWithdrawPayeeListResponse.Body> {

    private static final long serialVersionUID = 1L;

    public CloudPayAccountWithdrawPayeeListResponse() {
        this.body = new Body();
    }

    public CloudPayAccountWithdrawPayeeListResponse(Integer code) {
        super(code);
        this.body = new Body();
    }

    public CloudPayAccountWithdrawPayeeListResponse(Integer code, String msg) {
        super(code,msg);
        this.body = new Body();
    }

    public static class Body implements Serializable {

        private static final long serialVersionUID = 1L;

        private List<Payee> payeeList;

        public List<Payee> getPayeeList() {
            return payeeList;
        }

        public void setPayeeList(List<Payee> payeeList) {
            this.payeeList = payeeList;
        }
    }

    public static class Payee {

        private Integer type;            //收款应用类型
        private String receivingAppId;      //收款应用ID
        private String receivingId;         //收款人ID
        private String receivingFaceImg;     //收款人头像
        private String receivingNickname;     //收款人昵称
        private String receivingPhone;       //收款人电话
        private Date createDate;             //创建时间

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public String getReceivingAppId() {
            return receivingAppId;
        }

        public void setReceivingAppId(String receivingAppId) {
            this.receivingAppId = receivingAppId;
        }

        public String getReceivingId() {
            return receivingId;
        }

        public void setReceivingId(String receivingId) {
            this.receivingId = receivingId;
        }

        public String getReceivingFaceImg() {
            return receivingFaceImg;
        }

        public void setReceivingFaceImg(String receivingFaceImg) {
            this.receivingFaceImg = receivingFaceImg;
        }

        public String getReceivingNickname() {
            return receivingNickname;
        }

        public void setReceivingNickname(String receivingNickname) {
            this.receivingNickname = receivingNickname;
        }

        public String getReceivingPhone() {
            return receivingPhone;
        }

        public void setReceivingPhone(String receivingPhone) {
            this.receivingPhone = receivingPhone;
        }

        public Date getCreateDate() {
            return createDate;
        }

        public void setCreateDate(Date createDate) {
            this.createDate = createDate;
        }
    }
}
